package com.rabbiter.market.mapper.sale.sale_records;

import com.rabbiter.market.domain.sale.sale_records.SaleRecords;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SaleRecordsMapper extends BaseMapper<SaleRecords> {

    /**
     * 批量更新订单
     * @param updateList
     */
    void updateBatch(@Param("updateList")List<SaleRecords> updateList, @Param("type") int type);

}
